<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title><?php echo C('SITE_NAME');?></title>
    <link rel="stylesheet" type="text/html"
          href="<?php echo C('APP_PATH').C('THEME_PATH');?>/Css/<?php echo MODULE_NAME;?>/<?php echo ACTION_NAME;?>.css"/>
</head>
<body>
<div class="header">
    <a href="<?php echo C('APP_PATH');?>">首页</a> <a href="<?php echo C('APP_PATH').'/User/register';?>">注册</a>
    <a href="<?php echo C('APP_PATH').'/User/login';?>">登录</a>
</div>

<div class="main">
    <div id="register">
        <table>
            <caption>
                <h2>登录到<br /><?php echo C('SITE_NAME');?></h2>
            </caption>
            <form action="check_login" method="post">
                <tr>
                    <th>用户</th>
                    <th><input type="text" name="username" required/></th>
                </tr>
                <tr>
                    <th>密码</th>
                    <th><input type="password" name="password" required/></th>
                </tr>
                <tr>
                    <th colspan="2"><input type="submit" value="注册"/></th>
                </tr>
            </form>
        </table>
    </div>
</div>
<div class="footer"></div>